import {type LoginParams,type LoginRes}from '@/types/user'
import { request } from "@/utils/reuqest";
export const loginAPI=(data:LoginParams)=>{
  return request <LoginRes>('/login', 'POST', data)
}
